//
//  OnlineDetailDataTableViewCell.m
//  XiXi
//
//  Created by HawkingWang on 16/9/30.
//  Copyright © 2016年 xi-xi.cc. All rights reserved.
//

#import "OnlineDetailDataTableViewCell.h"

@implementation OnlineDetailDataTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    _dataBtn.layer.masksToBounds = YES;
    _dataBtn.layer.borderWidth = 1;
}

- (void)loadData:(OnlineDetailModel *)model{
    _time.text = model.time;
    _theatre.text = [NSString stringWithFormat:@"%@ %@", model.threater_name, model.hall_name];
}

- (IBAction)click:(id)sender {
    _dataBtnClick();
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
